package cn.jantd.modules.activiti.entity;

import org.activiti.engine.repository.Deployment;

import java.util.Date;

public class DeploymentImpl implements Deployment {

    protected String id;
    protected String name;
    protected String category;
    protected String tenantId;
    protected Date deploymentTime;

    public DeploymentImpl(Deployment obj){
        this.id = obj.getId();
        this.name = obj.getName();
        this.category = obj.getCategory();
        this.tenantId = obj.getTenantId();
        this.deploymentTime = obj.getDeploymentTime();
    }


    @Override
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    public Date getDeploymentTime() {
        return deploymentTime;
    }

    public void setDeploymentTime(Date deploymentTime) {
        this.deploymentTime = deploymentTime;
    }
}
